import {request } from '../utils/request.js'

export function list(data) {
  return request({
    url: '/user/list',
    method: 'post',
    data:data
  })
}

export function edit(data) {
  return request({
    url: 'user/edit',
    method: 'post',
    data:data
  })
}

export function del(data) {
  return request({
    url: 'user/delete',
    method: 'post',
    data:data
  })
}
export function approval(data) {
  return request({
    url: 'user/audit',
    method: 'post',
    data:data
  })
}